<?php if(!empty($uid)) { ?>
	<li class="nav-item usernotice <?php echo $user['unread_notices'] !=0 ? 'current':''; ?>" id="nav-usernotice">
		<a class="nav-link text-white d-inline-block text-truncate" href="<?php echo url("my-notice");?>"><i class="icon icon-bell"></i> <?php echo lang('notice');?> <span class="d-none unread badge badge-danger badge-pill" id="nav-usernotice-unread-notices"><?php echo $user['unread_notices']; ?></span>			
		</a>
	</li>
<?php }?>
			